﻿namespace DataStructures___Exc1
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public class Program
    {
        public static void Main(string[] args)
        {
            int desiredNumber, sizeOfArray;
            int[] numbersArray;

            numbersArray = UserInterface.GetDataFromFile(args[0],out desiredNumber, out sizeOfArray);

            Selection selection = new Selection();

            int nthNumber = selection.IterativeSelect(numbersArray, 0, sizeOfArray - 1, desiredNumber);
        }
    }
}